const data=[
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/1.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/2.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/3.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/4.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/5.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/6.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/7.jpg'},
    {'id':1,'title':'电饭煲','price':50.99,src='/static/goods_pic/8.jpg'},
]

export default{
    getGoodsList(callback){
        setTimeout(() => {
            callback(data)
        }, 100);
    }
}